﻿
/*********************************************************************************
--时间：2011-12-30 23:31:07
--作者：jjpeng
--邮箱：ling121211@gmail.com
--说明：配置各个节点集合
--
*********************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Configuration;

namespace PCC.Framework.Config
{
    public class SHConfigSection : ConfigurationSection
    {
        /// <summary>
        /// 项目内配置项
        /// </summary>
        [ConfigurationProperty("System",IsDefaultCollection=false)]
        public KeyValueConfigurationCollection SystemSettings
        {
            get
            {
                return base["System"] as KeyValueConfigurationCollection;
            }
        }

        /// <summary>
        /// 引用第三方配置项
        /// </summary>
        [ConfigurationProperty("Reference",IsDefaultCollection=false)]
        public KeyValueConfigurationCollection ReferenceSettings
        {
            get
            {
                return base["Reference"] as KeyValueConfigurationCollection;
            }
        }

        /// <summary>
        /// 框架配置项
        /// </summary>
        [ConfigurationProperty("Framework",IsDefaultCollection=false)]
        public KeyValueConfigurationCollection FrameworkSettings
        {
            get
            {
                return base["Framework"] as KeyValueConfigurationCollection;
            }
        }
    }
}
